package one.stand.mapper;


import one.stand.model.live.AttentionUserModel;
import one.stand.model.live.ShortVideoModel;
import one.stand.request.live.ShortVideoQuery;
import one.stand.response.live.ShortVideoResponse;

import java.util.List;

/**
 * <p>
 * 短视频 Mapper 接口
 * </p>
 *
 * @author luoyang
 * @since 2020-05-20
 */
public interface ShortVideoMapper  {

    ShortVideoModel queryById(int id);

    int insert(ShortVideoModel model);

    int update(ShortVideoModel model);

    int deleteById(int attentionUserId);

    List<ShortVideoResponse> queryAllByLimit(int id);

    List<ShortVideoModel> queryAll(ShortVideoQuery query);

    int queryByCompanyId(int intValue);
}
